<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/includes/tags.jsp" %>
<!-- webroot://WEB-INF/includes/customer/enroll.jsp -->
<s:form action="enroll" namespace="/customer">
    <table>
        <tr>
            <td class="tr">
                Login :
            </td>
            <td class="tl">
                <s:textfield name="login" onblur="validateEnroll('login', $('loginStatus'),  {login: this.value});"
                             onfocus="$('loginStatus').update(new Element('img', {src: '/img/i/process.png', alt: ''}))"/>
                <span id="loginStatus"/>
            </td>
        </tr>
        <tr>
            <td class="tr">
                Password :
            </td>
            <td class="tl">
                <s:password name="password"/>
            </td>
        </tr>
        <tr>
            <td class="tr">
                Confirm password :
            </td>
            <td class="tl">
                <s:password name="confirmPassword"
                            onblur="
                           validateEnroll('password', $('passwordStatus'),
                           {password:  $('enroll_password').value, confirmPassword : $('enroll_confirmPassword').value});"
                            onfocus="$('passwordStatus').update(new Element('img', {src: '/img/i/process.png', alt: ''}))"/>
                <span id="passwordStatus"/>
            </td>
        </tr>
        <tr>
            <td class="tr">
                hint :
            </td>
            <td class="tl">
                <s:textfield name="hint"/>
            </td>
        </tr>
        <tr>
            <td class="tr">

            </td>
            <td class="tl">
                <s:submit/>
            </td>
        </tr>
    </table>

</s:form>
<!-- end webroot://WEB-INF/includes/customer/enroll.jsp -->